package com.kxxnzstdsw.plugins

import com.kxxnzstdsw.migrate.migrate
import com.zaxxer.hikari.HikariDataSource
import io.ktor.server.application.*
import org.koin.ktor.ext.inject

fun Application.configMigrate() {
  val dataSource by inject<HikariDataSource>()
  migrate(dataSource)
}
